Added p102.  Heavily reformatting code to be linuxy