Finished prefix sum implementation...(maybe)