Print works. Removed -pg flag from makefile.