File program.cs - final version