Implemented linkedlist. This code is not working at the moment!