1st task.
Added fold version.
Forgot one (==) case.