End game conditions added. Console output.