Made new project in MPLABX; Changed code for using PIC18F4520, which should better suit this project