Removed redundant functions from DetectionSystemGriffin

Multiple functions were defined to perform the exact same task with a very minor variation (ie, right side, left side) so I replaced them with one function that just has a boolean argument to specify which condition you actually want to satisfy.