head.epichains function

head and tail method for <epichains> class