Created Wait.java

This class stores an order to wait for some time.