Python Square Pattern Programs