Ruby Convert String Array Into Integer Numbers In Math