Adding source code for 's1p2bin'