Data structure implemented. Have to test