static int reserve(int bookID)
    {
        if(bookID>bookList.size()-1||bookID<0)
            return 1;
        Book t=bookList.get(bookID);
        if(t.getAvailablity())
        {
            t.reserve();
            return 2;
        }
        else
            return 3;
    }