Cache the size of the array

We don't need to keep calculating the size for every pass of the
for loop.
Added motor.c and motor.h

These files will be used to interface with the micromouse and call
the asm subroutines. Right now they just update the representations
of the postion.