measures.cpp changed to properly parse input prolog files
Added basic measures and snap