Reorganised loop code into CUDA kernel. Successfully sorts a reversed array of 16 elements. Code is still far from tested.