Lyft Interview Question

Draw squares on the screen programmatically.