solved some warmup and arrays problems