A program that measures an angle, by laying your smartphone on it