More Somewhat Working Code

This code compiles and should work when run, I just cant quite get it to
run.