moved valid_moves to its own file, added a main.cpp for testing