added item pickup function and graphical output for itempickup