Using deque for fps list. Returning None for no path found.