Create F.cpp

cyclic sequence - not fully woking