python code for hierarchial clustering