Add unit test, refactor and get sugar monitor working

	new file:   Analyzer.java
	modified:   BloodSugarSimulator.java
	new file:   Pair.java
	new file:   ../../../../tst/com/helabs/simulator/AnalyzerTest.java