adding a logger and printwriter to keep track of history. adding armor purchase logic