Hi,
I think you misunderstood what a forum is for.
It is a place where you can find help for dedicated problems.
But it is not meant that some persons do the job for others.
At least you should show what you have done so far. You need to show that you really tried to solve th problem on your own.
A flow chart, a self written piece of code, internet reserach, your own ideas....
****
To your program:
As you defined neither input nor any output.... it could all be internally, inside the PIC.
So if you show your teacher an unprogrammed chip he won´t find out if it works or not.
Klaus