Novel intelligent devices: Two-dimensional materials based memristors