Remove trailing whitespace.
Fix single-piece move generation bug.

This fix prevents castling moves from being included in single-piece
move generation; unless of course, the piece is a king.

Fixes issue #30.