uses tensorflow to learn the train command collects data tftrain train the tensorflow model lnr is to check if it has learnt anything