My frame buffer Library in C