More list operations from lectures, including first attempt at flatten (it's not performant since it uses concat).
Remove superfluous case match