A simple approach to elevator problem asked during interviews written in python.