Added openMP solution.