Refactored the goToDestination method. Currently the robot will get stuck on the wall and cannot get off.
Moved soldier code to its own class.
Moved broadcasting logic to a communication class
Put the followWall logic into its own method.
Extracted the movement class
Added distance field.
Updated the movement method so that soldier can leave the wall if at any open corner it is closer to the destination than it was when it first hit the wall
Created a method for getting the direction to check when a soldier is following the wall
Robot will stop following wall one turn earlier
Updated self destruct method and constants
New communication methods for getting a setting a general location. The idea is the hq will set the location and the soldiers will go there.
Created a HQ class
HQ either broadcasts the center or the an enemy pastr location
Soldier will go wherever the HQ tells it to go
Added some TODOs for later
Added one more TODO