Now using xlwt and not pseudo code