Initial commit of rps.py