hw04 Program 1