Adding functions covered in class 1/25/2013 with unit tests for unique