some machine learn datastruct and algorithm implemented in python