Power system power flow calculation C language program