Program draws graph of function using Allegro graphics library.