Update hlist.py

Changed hselect from a method to a class.