A set of simulations for 2D staples written in C/C++ and CUDA