adding lights to pedometer code