fixes #53 - moves 'backers required" code to code.py
The same algorithm can now be called from many places