Fixed a few basic errors, everything prints out properly now.