Starting factorial code.