A python program that depicts Stanley's job