cut_square works

Updated cut_square function so that it works. Also added some nice
graphics.