can you show in my code where to put it
In order to compile, your code must include declarations for any functions that are used before they are defined. To help you do this (or get in the way and make a right pig's ear of it, depending on your point of view) the IDE inserts function declarations for all of your functions. But it adds them in the wrong place; it adds them before the type declarations in your code, which means that any function declarations which depend on types you defined in that file won't compile.
To fix this, you can insert this statement in your code after you declare the finger type (this will only work for later versions of the IDE):
int finger_move(int factor,finger FingerVerable, int Angle, int Side);
Or, put the declaration of the finger struct in a header file and #include that header in your sketch file (this should work with all IDE versions).
I see you've included some declarations in your code for functions that aren't implemented, so I suggest you get rid of those.
I also see you've implemented the main() function. There are very few situations where that is the right thing to do, and this isn't one of them. The entry points to your sketch should be setup() and loop(), as shown in all the examples that ship with the IDE.
Also, when posting code please enclose it in [ code ] [ /code ] tags. You can insert them into a post by clicking on the # button in the edit window. You can fix your previous posts by editing them, selecting the code and clicking the # button to add the code tags. The code tags stop the forum software from munging your code, so that it displays properly.