Added graph and container libraries
changed sparse representation