Modified c++ version to output an example F, and killed the call to keyschedule