program 1 first draft, waiting for prof to fix output on description