Temporal Coding in Spiking Neural Network for Gestures Recognition of A Partner Robot