<commit_before>From root project directory run the following

$ ./vendor/phpunit/phpunit/phpunit tests/BaseTest

Some assumptions
- All the test input is in the right format
- ~PHP 5.5
- Format is like below

Eg test-1
5 5 #size

1 2 N #mower1 position

LMLMLMLMM #mower1 instructions

3 3 E #mower2 position

MMRMMRMRRM #mower2 instructions

The challenge
-----------------

__Part 1__

Nigel has been tinkering in his shed again, and has hacked together a robotic controller for his lawn mowers. He plans to program each of them to be able to mow all the various lawns in his street on their own (another get rich scheme for Nigel!). Luckily for Nigel, all the lawns in his street are rectangular.
A mower's position and location is represented by a combination of x and y co-ordinates and a letter representing one of the four cardinal compass points (North, South, East, West). A lawn is divided up into a grid to simplify navigation. An example position might be 0, 0, N, which means the mower is in the bottom left corner and facing North.
In order to control a mower, Nigel sends a simple string of letters. The possible letters are 'L', 'R' and 'M'. 'L' and 'R' makes the mower spin 90 degrees left or right respectively, without moving from its current spot. 'M' means move forward one grid point, and maintain the same heading.<commit_msg>readme spacing<commit_after>From root project directory run the following

$ ./vendor/phpunit/phpunit/phpunit tests/BaseTest

Some assumptions
- All the test input is in the right format
- ~PHP 5.5
- Format is like below

Eg test-1

5 5 #size

1 2 N #mower1 position

LMLMLMLMM #mower1 instructions

3 3 E #mower2 position

MMRMMRMRRM #mower2 instructions

The challenge
-----------------

__Part 1__

Nigel has been tinkering in his shed again, and has hacked together a robotic controller for his lawn mowers. He plans to program each of them to be able to mow all the various lawns in his street on their own (another get rich scheme for Nigel!). Luckily for Nigel, all the lawns in his street are rectangular.
A mower's position and location is represented by a combination of x and y co-ordinates and a letter representing one of the four cardinal compass points (North, South, East, West). A lawn is divided up into a grid to simplify navigation. An example position might be 0, 0, N, which means the mower is in the bottom left corner and facing North.
In order to control a mower, Nigel sends a simple string of letters. The possible letters are 'L', 'R' and 'M'. 'L' and 'R' makes the mower spin 90 degrees left or right respectively, without moving from its current spot. 'M' means move forward one grid point, and maintain the same heading.
{'fraction_non_alphanumeric': 0.05851851851851852, 'fraction_numerical': 0.013333333333333334, 'mean_word_length': 3.8666666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4239398', 'n_tokens_mistral': 768, 'n_tokens_neox': 722, 'n_words': 446}