Program draws graph of funcion using Allegro grpahics library.