Create 2-2.cpp
Merge pull request #6 from PollockCR/practice

attempted 2-2.cpp