Uhm, firstly welcome and please take time to read our newbie
sticky.
a
routing protocol usually has a defined set of standards, you only have to implement it. Which routing protocol exactly do you have to implement? (RIPv2, OSPF, etc.). or were you asked to create a new routing protocol?