added get board functions and test
made move method