Solved Problem 4.
Add 'human' solution to Problem 5. Is this cheating?