Pirate3D interview question

Recursion, looping, basic math and fundamentals.