Minor style edits.
Wrote recursive get_next_piece
Rewrote get_next_piece as one function.