Made some bug fixes. Program should be working now. Still needs some modifications to run more efficiently.