added a perfect algorithm example as my favorite test.