Code for simple egg and floor puzzle