handle empty array
enable `ctrl + l` to clear the terminal
add srandommember and spop