Solar tracking c program