Project 01 final code with output