Finished it, not the best code, but dog needs to go out