starting program 2 and adding examples from professor