Ground state of an interacting anyon system