Added function to insert moves into board

Sorry to mess with master branch, changes pretty minimal though; figured
I was just messing around and wouldn't make actual progress. Will branch
out in future.