Sample code presented to the UGA ACM in Spring 2014