Phase five - Finish it off

http://www.codeskulptor.org/#user33_w4nlns2ANP_65.py