Create addrev.cpp

Solution to the ADDREV problem in SPOJ.