Lucid Software interview question

Three coding questions, two easy, one game implementation.