wrote Getposition, and legalmove
Merge changes on board to test