Write a program that uses x11/xlib interface to perform the following functions: Your program receive a file name as command line argument, this file consists of lines of the form
(137,296) 50,60;
That is the coordinates of the sensor in parantheses followed by its sensing radius and communication distance followed by a semicolon. The coordinates of all sensors are integers of the range 0-9999. Your program then prints the number of sensors it has read to stdout, opens a window and displays all the sensors and the bidirectional communication links. The sensor position itself is shown as a black dot, the communication link as a yellow segment and the covered region of the sensor as a red circle. Finally you test whether all points in the square are covered by sensors for this you can use an o(ncube) algorithm.