Update Program.cs

Just some changes I made away from computer. Still not sure what to do about edge cases.