Add coctail shaker sort algorithm implementation