Cs 4400 Lecture 2 Example Code