You should not use single-letter names for variables. And capitals are for 2D arrays.