Return a value from test_possible_moves.c
Turn on compilation warnings and make resulting clean up changes.