BSD implementation
remove FreeBSD-specific signature
add .gitignore
add bottom-up heapsort, modified