I want to draw an image given in the picture. Till now I have been able to draw only
\documentclass{beamer}
\usepackage{mathtools}
\usepackage{array}
\usepackage{amsmath}
%\usetheme{Boadilla}
\usetheme{Madrid}
\usepackage{bibentry}
\usepackage[linesnumbered,ruled,vlined]{algorithm2e}
\setbeamertemplate{theorems}[numbered]
\usepackage{tikz}
\usepackage{graphicx}
\usepackage[section]{placeins}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{frame}
\begin{tikzpicture}
\draw (0,0) -- (3,0) -- (3,4) -- (0,4) -- (0,0);
\end{tikzpicture}
\end{frame}
\end{document}
Question : How to draw the image given below?


\begin{tikzpicture}[bullet/.style={fill,circle,inner sep=1.5pt}] \draw (0,0) rectangle (3,4) ; \path foreach \X [count=\Y]in {0.3,0.7,1.1,1.5,2.9,3.3,3.7} {(1.5,\X) node[bullet] (b\Y) {} }; \node (m) at (-1.5,2) {$m$}; \foreach \X in {1,...,7} {\draw[-stealth] (m) to[out=0,in=180] (b\X);} \end{tikzpicture}– Jul 31 '19 at 11:33