Coding exercises for Ernest