implementation of some  commonly used data structure in different languages