Room switching added by implementing a switchRoom() method. method used
Java switch-case concept. still a rough draft