Adding answer

Added more answers for algorithmic challenges