Included the game logic and unit test cases 

this commit has code which has unit testable game engine. The unit tests covers on how the player move in signal while red / green