use pow_four instead
remove str alloc and replace inside s for strstr
add comment
add install section
add a helper function for python
nonworking commit of interface