Got the program mostly working!

This is the final build!