pretty print amgm.py
added hm.py