Added a (working) test method for HLA

Since I couldn't get the project to work, I wrote a simple method, which
crunches through the numbers to verify that the HLA protocol is correct