Added functions to better organize code.
Added function that prints globals.
Removed pointless "sucker" function.