Project 6.2

Implemented a takeItem function using switch case.
Everything works!