added function move_to_habitat. also fixed some bugs with remove_animal in database.py and it's tests