added key functions
key
added key and methods for leaving the house
almost finnished added key stuff and fixed some errors