Fixed error in constructor and wrote some lines in program to test how things were going