Create priorityfan.cpp