First steps in the logic module

Implemented pick_sow_order
Began work on valid_move
Some other minor functions added
Added edit_board