2. Square

Instructions (Part I): Recreate each code below to fly in two different square patterns. Test in the simulator. Reflect on the differences between each pattern and how it presents in each code. 

Instructions (Part II): Develop a method of flying in a square using only two lines of code (Hint: you will need to use a “loop”).  Test in the simulator.