new method for Room class to validate movement from one room to another.