Everything working except for printing out correctly, and function prototypes aren't being declared correctly