Added fun.cpp for the fun