Implemented powerset function, created vertex helper class