Added simple factorial method. Preparing for google test and migration to linux