how to make a batch file to set up a cluster for mongo 4.0.15

I need help with an assignment and I need to make a

create_nodes.bat

setup_cluster.bat

setup_cluster.js

remove_cluster.bat

I’ve been looking everywhere and can’t find an answer