Added function for determining initial value and type of loop variable.