updated framework a bit, and added a test framework that chooses a random move