Adding turn functions.
Committing tests.
Merge branch 'jonescd'