Square Pattern Program In Python