Passing the file as parameter to yacc to parse it.
Added three type of arrays.