Project 6.4

Implemented the function "killHive"
and the global variable "hiveDefeated" so that the RealKey cannot be
taken until the hive is defeated