Bugfix, add clean_spaces() function.
Fixed a bug in which the first page number was not being removed
by the move_pages() function.

Added clean_spaces() function, which limits the number of
consecutive newlines to two.