Added boolean function
Added nested for loop.
Moved whoBringsWhat call to correct place in output.
Added function to process JSON data.