Added pg34.c
Cleaned up the coded a bit