Still not working for define.
Fix bugs caught by the type system. :)
add unsafe bubble sort