querying all beliefs and requests
refactored
add assertions
make parsing of files with periods
take out unneeded brackets
add do