FlipSquare

	FlipSquare is a puzzle game in which each puzzle is called a Map. The simplest Maps consist of a square array of squares which are either red or gray. The object is to flip all of the red squares to turn them green. Gray squares can not be flipped. They simply get in your way and make solving the puzzle harder. You begin by picking one of the red squares as your starting point. Then you move to adjacent red squares either horizontally or vertically. Red squares in the chosen direction are flipped until you encounter a gray square, a green square or the edge of the Map. Then you move in a different direction. You will either flip all of the red squares (success) or arrive at point where there are remaining red squares but with none adjacent to your current position (fail). 
	Orange squares
		Orange squares must be passed through twice. The first pass changes the square to a red square and the second pass changes it to green.
	Purple squares
		When you encounter a purple square it changes to green but also jumps you over the next square in the direction you are moving providing that you land on a square that can be flipped (red).
Consider the following:

	Where C is your current position
	If you choose to move left the result will be

However, if the situation were as follows:

	If you choose to move left the result will be

	You can not jump over the gray square because there is not a red square on the other side.