test added and start of timsort implementation