I have found, the hard way sometimes, the PIC is a pretty robust item. You don't need the current limiting resistors as the PIC will protect itself and only give you 20mA for the LED. It's a better design to have the resistors and if you're looking for a logic hi with only an LED.......well, I'll let you figure that out yourself. Just stick the LEDs onto the outputs and once you've figured out how to make it work you can finesse the design.

There are several threads in this forum that will help you along the way but don't expect anyone to write code for you. It also helps if you post a schematic of what you're doing. Get one of the free schematic design programs and attach a drawing with your code. As they say, a picture is worth a thousand electrons. Or something like that.

Best Wishes