Add efficiency algorithm (within iPython notebook and in a file: efficiency.py