Storing data structure and algorithm that I coded for practicing