Create facebook_hacker_cup_2014_qualifying_first.py

My Solution to facebook hacker cup 2014 Qualifying round Problem 1 (Squares)