implementation of some  commonly used algorithm in different languages with details