Solving Letter Boxed In Python