Added method convert string to int array
Second task