Added x and pX logic
Got motion vs no motion working

If x == pX then "No Motion"