Added own implementation for List data structure.