Functioning program, needs to be tested as a jar.