THE CODE IS FAIRLY SUCCINCT AND IS VERY EFFICIENT WHEN IT RUNS
