Playing with basic algorithms and data structures for learning purposes