ADC is finally working!!

Got ADC to finally work. Also UART has already been working and continues to work.
HARDWARE SETUP NOTES : 
1)Best resolutions and results are obtained on an input power supply of 3.0V.
2)Input sampling channels setup are AN4(RB4) and AN5(RB5). Connect the potentiometer output to both AN5 and AN4.
3)VREF+ AND VREF- are now the standard reference voltages, so hook up the Power(3.0V) and GND rails directly to pins RA10 and RA9 respectively.