added the validate basic module which takes a l,ist of movements and a direction in order to validate them