Use implemented reverse instead of built-in one
Implemented problems from P10 to P19 (ab)using foldLeft