proof of squeeze theorem for sequences