You've accidentally created a method called void start() instead of void Start() with capital S.
Either that or you don't have a Rigidbody2D on your object connected with the script.
Hope that solves it
Thank you So much! :) I worked on the movement for the past 5 days!