Added the put, size, and another method. Changed the get method.