added structs with arrays and the string compare algo