testing around with c extensions
Completed C portations. SUPER MEGA FAST NOW