renamed program.cs to problem6.cs to follow naming convention