Added group support and kleene's star support.