Create genrevision.cpp

Create genrevision.cpp