Added lib.c file that I accidentally left out.