encoder part added

Endless encoder is added to check motor movement