Code for reading gp2d12 IR sensor & print distance.