Similar exercise from Learnyounode, ex6 done