added ipython notebook for testing/debugging