add solution for remove element.
add test case for remove element.