Add example and fixed some minor bugs discovered while creating it
0.1.0