How To Calculate Running Time Of An Algorithm