Added PAL.cpp that I forgot last time.