add srp base logic.
SRP split to some functions. but it no longer do'esn't work
__main__() as test case
fix srp
add comment
refactoring srp.py
srp.py support python3