Initial version of password checker (lecture 6)
Using and from Prelude makes reading easier