How do I put data (only using my program) into a table then print it out?