Attempting to check left and right screen boundaries for path formation purposes

Not working yet. Code also needs cleaning up