add swift version of problem 4, remove logging (slow down!) from other version of problem 4
comment out timing code in Rust (until I get it working)