add solution for AB-letter
fix x to xx
replace pointer to arrays