Benchmark

added bench function to benchmark stuff