Strip white spaces from input. Closes #25.