calculator done, could not do factorial