Create capacities.cpp

shit for  nearest larger prime, &c