Implemented Player and Item classes. And fixed some errors.