Shopify Interview Question

Design a command line program for moving a robot on a 2D surface.