added tests

added some preliminary unit tests (google test) and worked on some game
code