code practise for various data structures and algorithms